#!/bin/bash

#trash-put $HOME/
trash-put $HOME/.local/share/applications
trash-put $HOME/.local/share/desktop-directories
trash-put $HOME/.config/geany
#trash-put $HOME/.downloads/*.meta
trash-put $HOME/.local/share/*.xbel
trash-put $HOME/.config/menus
trash-put $HOME/.cache/wesnoth/cache-*
trash-put $HOME/.audacity-data
trash-put $HOME/*~
trash-put $HOME/.config/chromium
trash-put $HOME/.config/chromium
trash-put $HOME/.cache/chromium
trash-put $HOME/*filelist
trash-put $HOME/.adobe
trash-put $HOME/.macromedia
trash-put $HOME/.cache/openbox
trash-put $HOME/.gradle
trash-put $HOME/*.log
trash-put $HOME/.android
trash-put $HOME/.AndroidStudio1.5
trash-put $HOME/.texlive
trash-put $HOME/.xournal
trash-put $HOME/.cache/gegl-0.2
trash-put $HOME/.config/gpick
trash-put $HOME/.cache/ranger/*
trash-put $HOME/.w3m
trash-put $HOME/.config/cef_user_data
trash-put $HOME/.local/share/xorg
trash-put $HOME/.local/share/vifm
trash-put $HOME/.newsbeuter/history.search
trash-put $HOME/.newsbeuter/history.cmdline
trash-put $HOME/.downloads/*.meta
trash-put $HOME/.config/gconf
trash-put $HOME/.config/pcmanfm
trash-put $HOME/.config/libfm
trash-put $HOME/.config/cef_user_data
trash-put $HOME/.local/share/applications/*.desktop
trash-put $HOME/.local/share/gvfs-metadata
trash-put $HOME/.lyrics
trash-put $HOME/.cache/Atom
trash-put $HOME/.local/share/icons/hicolor
trash-put $HOME/.thumbnails
trash-put $HOME/.java
trash-put $HOME/.xombrero
trash-put $HOME/.cache/gstreamer-1.0
trash-put $HOME/.cache/webkit
trash-put $HOME/.cache/mozilla
trash-put $HOME/.python_history
trash-put $HOME/.lesshst
trash-put $HOME/.bash_history
trash-put $HOME/.ssr
trash-put $HOME/.pki
trash-put $HOME/.viminfo
trash-put $HOME/.gimp-2.8
trash-put $HOME/.goutputstream-*
trash-put $HOME/.config/ibus
trash-put $HOME/.local/share/gegl-0.2
trash-put $HOME/.cache/ctrlp
trash-put $HOME/.podcasts

#mv $HOME/*. $HOME/
mv $HOME/*.png $HOME/.misc/misc-images
mv $HOME/*.jpg $HOME/.misc/misc-images
mv $HOME/*.webm $HOME/.misc/misc-images/animated/webms
mv $HOME/*.gif $HOME/.misc/misc-images/animated/gifs
mv $HOME/*.mp4 $HOME/.misc/misc-videos
mv $HOME/*.mkv $HOME/.misc/misc-videos
mv $HOME/*.torrent $HOME/.torrents

echo "Delete everything in trash folder?"
select yn in "Yes" "No"; do
    case $yn in
        Yes ) srm -Cfrv $HOME/.local/share/Trash/*; break ;;
        No ) break  ;;
    esac
done


